/**
 * 
 */
package com.ph.shopping.facade.agent.vo;

import com.ph.shopping.facade.agent.entity.AgentImage;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @项目：phshopping-facade-agent
 *
 * @描述：代理商详情
 *
 * @作者： 舒豪
 *
 * @创建时间：2017年3月10日
 *
 * @Copyright @2017 by 舒豪
 */
public class AgentVo implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 代理级别
     */
    private String levelName;

    /**
     * 代理级别Id
     */
    private Long agentLevelId;

    /**
     * 代理商名称
     */
    private String agentName;

    /**
     * 联系人
     */
    private String personName;

    /**
     * 联系电话
     */
    private String personTel;

    /**
     * 推广师电话
     */
    private String promoterTel;

    /**
     * 推广师姓名
     */
    private String promoterName;

    /**
     * 上级代理
     */
    private String parentAgent;

    /**
     * 上级代理Id
     */
    private Long parentId;

    /**
     * 所属省Id
     */
    private String provinceId;

    /**
     * 所属市Id
     */
    private String cityId;
    /**
     * 所属区Id
     */
    private String countyId;

    /**
     * 所属社区Id
     */
    private String townId;

    /**
     * 所属区域Id
     */
    private String positionId;


    /**
     * 所属省
     */
    private String provinceName;

    /**
     * 所属市
     */
    private String cityName;
    /**
     * 所属区
     */
    private String countyName;

    /**
     * 所属社区
     */
    private String townName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 营业执照
     */
    private String businessNumber;

    /**
     * 负责人身份证
     */
    private String personIdCard;

    /**
     * 代理状态：0待审核，1审核通过，2被驳回，3被冻结
     */
    private Integer status;

    /**
     * 代理状态名称
     */
    private String statusName;

    /**
     * 代理商身份证图片
     */
    private List<AgentImage> idCardsImage = new ArrayList<AgentImage>();

    /**

     * 代理商营业执照图片
     */
    private List<AgentImage> businessImage =new ArrayList<AgentImage>();

    public String getStatusName() {

        if(0==status){
            statusName="待审核";
        }else if (1==status){
            statusName="正常";
        }else if (2==status){
            statusName="被驳回";
        }else if(3==status){
            statusName="冻结";
        }
        return statusName;
    }
    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getParentAgent() {
        return parentAgent;
    }

    public void setParentAgent(String parentAgent) {
        this.parentAgent = parentAgent;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public Long getAgentLevelId() {
        return agentLevelId;
    }

    public void setAgentLevelId(Long agentLevelId) {
        this.agentLevelId = agentLevelId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getPersonTel() {
        return personTel;
    }

    public void setPersonTel(String personTel) {
        this.personTel = personTel;
    }

    public String getPromoterTel() {
        return promoterTel;
    }

    public void setPromoterTel(String promoterTel) {
        this.promoterTel = promoterTel;
    }

    public String getPromoterName() {
        return promoterName;
    }

    public void setPromoterName(String promoterName) {
        this.promoterName = promoterName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCountyId() {
        return countyId;
    }

    public void setCountyId(String countyId) {
        this.countyId = countyId;
    }

    public String getTownId() {
        return townId;
    }

    public void setTownId(String townId) {
        this.townId = townId;
    }

    public String getPositionId() {
        return positionId;
    }

    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getTownName() {
        return townName;
    }

    public void setTownName(String townName) {
        this.townName = townName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBusinessNumber() {
        return businessNumber;
    }

    public void setBusinessNumber(String businessNumber) {
        this.businessNumber = businessNumber;
    }

    public String getPersonIdCard() {
        return personIdCard;
    }

    public void setPersonIdCard(String personIdCard) {
        this.personIdCard = personIdCard;
    }

    public List<AgentImage> getIdCardsImage() {
        return idCardsImage;
    }

    public void setIdCardsImage(List<AgentImage> idCardsImage) {
        this.idCardsImage = idCardsImage;
    }

    public List<AgentImage> getBusinessImage() {
        return businessImage;
    }

    public void setBusinessImage(List<AgentImage> businessImage) {
        this.businessImage = businessImage;
    }
}
